﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site/Master/Main.Master" AutoEventWireup="true" CodeBehind="MemberOrder.aspx.cs" Inherits="ECommerce.Web.Site.MemberOrder" %>
<%@ Register src="controls/UserCenterDir.ascx" tagname="UserCenterDir" tagprefix="uc1" %>
<%@ Register src="controls/SaleRank.ascx" tagname="SaleRank" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="styles/member.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="main">
        <div class="mainleft">
           <uc1:UserCenterDir ID="UserCenterDir1" runat="server" />
           <uc2:SaleRank ID="SaleRank1" runat="server" />
        </div>
        <div class="mainright">
            <div class="membertit">
                您的位置：网站首页 > 会员中心
            </div>
            <div class="memberfour">
                <div class="memhead weight">
                    我的订单
                </div>
                <div class="memhbody">
                    <ul>
                        <li class="title"><span class="one">订单号码</span><span class="two">生成日期</span><span
                            class="three">订货人</span><span class="four">订单金额</span><span class="five">处理状态</span>
                            <span class="six">付款状态</span><span class="seven">详细信息</span> </li>
                        <asp:Repeater ID="rpt" runat="server" onitemdatabound="rpt_ItemDataBound">
                            <ItemTemplate>
                                <li class="content"><span class="one"><em><a href='MemberOrderDetail.aspx?ID=<%#Encript(Eval("ID")) %>'><%#Eval("ID") %></a></em></span><span class="two"><%#Eval("InputTime","{0:d}") %></span><span
                                    class="three"><%#Eval("SendName")%>&nbsp;</span> <span class="four"><%#Eval("TradeValue") %></span><span class="five"><%#((ECommerce.Model.Order.OrderState)(int)Eval("OrderState")).ToString() %></span>
                                    <span class="six"><%# GetPayState(Eval("PayMode"),Eval("PayState"))%>&nbsp;<asp:HyperLink
                                            ID="lnkPay" NavigateUrl='<%#"PayInterface.aspx?OrderID=" + Encript(Eval("ID")) %>' runat="server">[付款]</asp:HyperLink></span><span class="seven"><a href='MemberOrderDetail.aspx?ID=<%#Encript(Eval("ID")) %>'>详细</a></span>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                     
                    </ul>
                </div>
                <div class="mysm">
                    <h1>
                        订单状态说明：</h1>
                    <h1>
                        未处理：表示该订单还没有与您确认，请等待我们的客服人员与您确认</h1>
                    <h1>
                        已处理：表示订单已经与您确认配送付款相关事宜，会按照您的要求配送</h1>
                    <h1>
                        已完成：表示该订单已经按照您的要求送到收货人手中</h1>
                    <h1>
                        已取消：表示该订单已经取消配送</h1>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>
